package com.rd.student.jike.class5.wangxiangyang;

import java.util.LinkedList;
import java.util.List;
public class LinkedlistTest1 {
    public static void main(String[] args) {
        LinkedList groupMembers = new LinkedList();
        groupMembers.add(new GroupMember("LiHongMing","计科","2班","男",25));
        groupMembers.add(new GroupMember("XueZhiXin","计科","2班","男",24));
        groupMembers.add(new GroupMember("WangHaiXin","计科","4班","男",23));
        groupMembers.add(new GroupMember("XiaYinYin","计科","4班","男",27));
        groupMembers.add(new GroupMember("WuJunHao","计科","5班","男",26));
        groupMembers.add(new GroupMember("WangXiangYang","计科","5班","男",25));
    }
    public void ClassNumbers(){

    }
}
class GroupMember {
        String name;
        String major;
        String className;
        String description;
        int age;

        public GroupMember(String name, String major, String className, String description, int age) {
            this.name = name;
            this.major = major;
            this.className = className;
            this.description = description;
            this.age = age;
        }
    }